/*
 * @Author: HeAo
 * @Date: 2021-11-25 17:47:56
 * @LastEditTime: 2021-11-25 17:52:18
 * @LastEditors: HeAo
 * @Description:
 * @FilePath: \study\day03\4-函数.js
 * 别乱动！
 */
function myFun1 () {
  console.log('this is my function1');
}

let myFun2 = function () {
  console.log('this is my function2');
}

let obj = {
  name: 'zhangsan',
  sayName: function () {
    console.log(this.name);
  }
}

// 函数的调用。使用funName()
myFun1()
myFun2()

obj.sayName()
